##
## Makefile for  in /u/all/caille_c/cu/rendu/c/my_ls
## 
## Made by carole cailleux
## Login   <caille_c@epitech.net>
## 
## Started on  Fri Dec 11 14:30:56 2009 carole cailleux
## Last update Wed Mar 17 20:56:25 2010 carole cailleux
##

NAME_SERV	= serveur
NAME_CLI	= client

SRCS_SERV	= sv_serv.c		\
		  sv_lib_1.c		\
		  sv_calc.c		\
		  sv_xfunctions_1.c

SRCS_CLI	= cl_client.c		\
		  cl_lib_1.c		\
		  cl_my_strlen.c	\
		  cl_power.c		\
		  cl_send_signals.c	\
		  cl_xfunctions.c
CC		= gcc

CFLAGS		+= -Wall -pedantic -ansi -Wextra

RM		= rm -f

OBJS_SERV	= $(SRCS_SERV:.c=.o)
OBJS_CLI	= $(SRCS_CLI:.c=.o)

all		:
		  $(CC) -o $(NAME_SERV) $(SRCS_SERV) $(CFLAGS)
		  $(CC) -o $(NAME_CLI) $(SRCS_CLI) $(CFLAGS)

clean		:	
		  $(RM) $(OBJS_SERV) $(OBJS_CLI) *~

fclean		: clean
		  $(RM) $(NAME_SERV) $(NAME_CLI)

re		: all
